package com.beasts.antpage.core.common.dto.content;

import java.util.Date;

/**
 * 文章dto
 *
 * @author Locker
 * @date 16/07/2018 2:37 PM
 * @since 1.0
 */
public class ApArticleDTO {

    private String id;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 创建者
     */
    private String creator;

    /**
     * 类别
     */
    private String type;

    /**
     * 附件 id
     */
    private String attatchBlobId;

    /**
     * 图片 url
     */
    private String imgUrl;

    /**
     * 文章编号
     */
    private String sno;

    /**
     * 作者
     */
    private String author;

    /**
     * 链接地址（文章可链接到 url）
     */
    private String href;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 写作时间
     */
    private Date wroteTime;

    /**
     * 修改者
     */
    private String mendor;

    /**
     * 修改时间
     */
    private Date mendTime;

    /**
     * 生效日期
     */
    private String validDate;

    /**
     * 失效日期
     */
    private String expireDate;

    /**
     * 文章导读
     */
    private String review;

    /**
     * 是否已发布
     */
    private String isPub;

    public ApArticleDTO() {
    }

    public ApArticleDTO(String id, String title, String content, String creator, String type, String attatchBlobId, String imgUrl, String sno, String author, String href, Date createTime, Date wroteTime, String mendor, Date mendTime, String validDate, String expireDate, String review, String isPub) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.creator = creator;
        this.type = type;
        this.attatchBlobId = attatchBlobId;
        this.imgUrl = imgUrl;
        this.sno = sno;
        this.author = author;
        this.href = href;
        this.createTime = createTime;
        this.wroteTime = wroteTime;
        this.mendor = mendor;
        this.mendTime = mendTime;
        this.validDate = validDate;
        this.expireDate = expireDate;
        this.review = review;
        this.isPub = isPub;
    }

}
